#ifndef ARROWRECTANGLE_H
#define ARROWRECTANGLE_H

#include <QFrame>
#include <QSlider>

class QLabel;
class ArrowRectangle : public QFrame
{
    Q_OBJECT
public:
    explicit ArrowRectangle(QWidget* parent = nullptr);

    void initConnect();

    int currentVolume();

signals:
    void volumeChanged(int value);

public slots:
    void onValueChanged(int value);

private:
    QLabel* m_label = Q_NULLPTR;
    QSlider* m_slider = Q_NULLPTR;
};

#endif // ARROWRECTANGLE_H
